Skip to content

chore(deps): bump read-excel-file from 9.0.6 to 9.0.9 in /packages/frontend#65

Merged
BugMaker-Boyan merged 1 commit intomasterfrom
dependabot/npm_and_yarn/packages/frontend/read-excel-file-9.0.9
May 4, 2026
Merged

chore(deps): bump read-excel-file from 9.0.6 to 9.0.9 in /packages/frontend#65
BugMaker-Boyan merged 1 commit intomasterfrom
dependabot/npm_and_yarn/packages/frontend/read-excel-file-9.0.9

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 4, 2026

Bumps read-excel-file from 9.0.6 to 9.0.9.

Changelog

Sourced from read-excel-file's changelog.

9.0.7 / 28.04.2026

  • Merged Toni G's fix for a bug when error.row was always equal to 1.
  • Re-added schema parameter in readSheet() function.

9.0.0 / 18.04.2026

  • If you were using parseData() function:
    • Rewrote the code of the parseData() function and renamed it to parseSheetData().
    • The result of parseSheetData() function is now { errors, objects }. If there're no errors, errors will be undefined. Otherwise, errors will be a non-empty array and objects will be undefined.
      • Previously the result of parseSheetData() function was [{ errors, object }, ...], i.e. the errors were split between each particular data row. Now the errors are combined for all data rows. The rationale is that it's simpler to handle the result of the function this way.
      • Re-added row: number property to the error object. It's the number of the data row that caused the error, starting from 1.
      • Added columnIndex: number property to the error object.
    • Renamed some of the exported TypeScript types:
      • ParseDataCustomTypeParseSheetDataCustomType
      • ParseDataCustomTypeErrorMessageParseSheetDataCustomTypeErrorMessage
      • ParseDataCustomTypeErrorReasonParseSheetDataCustomTypeErrorReason
      • ParseDataErrorParseSheetDataError
      • ParseDataValueRequiredErrorParseSheetDataValueRequiredError
      • ParseDataResultParseSheetDataResult
    • In a schema, a nested object could be declared as: { required: true/false, schema: { ... } }. This is still true but the required flag is now only allowed to be either undefined or false, so true value is not allowed. The reason is quite simple. If a nested object as a whole is marked as required: true, and then it happens to be empty, a "required" error should be returned for it. But that error would also have to include a column title, and a nested object simply can't be pinned down to a single column in a sheet because it is by definition spread over multiple columns. So instead of marking a nested object as a whole with required: true, mark the specific required properties of it.

8.0.0 / 11.03.2026

  • If you were using the default exported function:

    • Renamed the default exported function to a named exported function readSheet.
      • Old: import readExcelFile from "read-excel-file/browser"
      • New: import { readSheet } from "read-excel-file/browser"
      • And same for other exports like "read-excel-file/node", etc.
    • The default exported function now returns a different kind of result. Specifically, now it returns all available sheets — an array of objects: [{ sheet: "Sheet 1", data: [['a1','b1','c1'],['a2','b2','c2']] }, ...].
    • The default exported function used to return sheet names when passed getSheets: true parameter. Now, instead of that, the default exported function just returns all available sheets, from which one could get the sheet names.
  • If you were using readSheetNames() function:

    • Removed exported function readSheetNames(). Use the default exported function instead. The default exported function now returns all sheets.
  • If you were using parseExcelDate() function:

    • Removed exported function parseExcelDate() because there seems to be no need to have it exported.
  • If you were using schema parameter:

    • Removed schema parameter. Instead, use exported function parseData(data, schema) to map data to an array of objects.
      • Old: import readXlsxFile from "read-excel-file" and then const { rows, errors } = await readXlsxFile(..., { schema })
      • New: import { readSheet, parseData } from "read-excel-file/browser" and then const result = parseData(await readSheet(...), schema)
        • The result of the function is an array where each element represents a "data row" and has shape { object, errors }.
          • Depending on whether there were any errors when parsing a given "data row", either object or errors property will be undefined.
          • The errors don't have a row property anymore because it could be derived from "data row" number.
            • In version 9.x, the row property has been re-added, so consider migrating straight to 9.x.
          • In version 9.x, the returned result of parseData() has been changed back to { errors, objects }, so consider migrating straight to 9.x. In that case, if there're no errors, errors will be undefined; otherwise, errors will be a non-empty array and objects will be undefined.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [read-excel-file](https://gitlab.com/catamphetamine/read-excel-file) from 9.0.6 to 9.0.9.
- [Changelog](https://gitlab.com/catamphetamine/read-excel-file/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/read-excel-file/compare/v9.0.6...v9.0.9)

---
updated-dependencies:
- dependency-name: read-excel-file
  dependency-version: 9.0.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 4, 2026
@dependabot dependabot Bot requested a review from BugMaker-Boyan as a code owner May 4, 2026 03:27
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 4, 2026
@BugMaker-Boyan BugMaker-Boyan merged commit 733036f into master May 4, 2026
8 checks passed
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/packages/frontend/read-excel-file-9.0.9 branch May 4, 2026 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant